.pk-game-container {
    padding: 1rem;
    min-height: 100vh;
    box-sizing: border-box;
    background: url("../images/game_bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: #dafdda;

    .currency-items {
        @include flex-center-between();
        height: 5rem;
        border-radius: 2.4rem;
        background: linear-gradient(to bottom, #ecdfff 0, #e4d2fe 9%, #dbc4fd 15%, #ac84e6 90%, #aa80e5 100%);
        border: 1px solid $purpleBorderFour;
        box-shadow: 0 2px 0.4rem 0 #2d2a32;

        .item-box {
            flex: 1;
            padding: 0 1rem;
            height: 3rem;
            @include flex-center-start();

            &:nth-child(1) {
                border-right: 1px solid #a77fe3;
            }

            &:nth-child(2) {
                border-left: 1px solid #d9c8f3;
                border-right: 1px solid #a77fe3;
            }

            &:nth-child(3) {
                border-left: 1px solid #d9c8f3;
            }

            img {
                width: 2rem;
                height: 2rem;
            }

            .show-box {
                @include flex-center-between();
                width: 0;
                flex: 1;
                height: 3rem;
                line-height: 3rem;
                padding-left: .8rem;
                box-sizing: border-box;
                font-size: 1.6rem;
                color: $purpleFontFive;
                border-radius: 1.5rem;
            }
        }
    }

    .game-content-box {
        @include flex-stretch-between();
        flex-direction: column;
        min-height: 50rem;
        height: calc(100vh - 15rem);
        margin-top: 1.2rem;
        border-radius: 2.4rem;

        .player-info-box {
            @include flex-start-start();
            position: relative;
            width: 100%;
            padding: 1rem 2rem 1rem 1rem;
            box-sizing: border-box;
            border-radius: 2.4rem;
            box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, 0.6);

            .photo-box {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 6rem;
                height: 6rem;
                border-radius: 1.6rem;
                overflow: hidden;
                background: radial-gradient(circle at center, #f5eeff, #d8c7f1);

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .info-box {
                width: 0;
                flex: 1;
                padding-left: 1rem;

                .player-info {
                    @include flex-center-between();

                    .name-box {
                        @include flex-center-start();
                        height: 2rem;

                        .name {
                            font-size: 1.2rem;
                            font-weight: bold;
                            color: #000;
                        }

                        img {
                            width: 2rem;
                            height: 2rem;
                        }

                        .status {
                            font-size: 1rem;
                        }
                    }

                    .prop-box {
                        @include flex-center-end();

                        img {
                            width: 2rem;
                            height: 2rem;
                        }
                    }

                }

                .list-min-box {
                    margin-top: .4rem;
                    padding: .4rem;
                    border-radius: 1rem;
                    background: linear-gradient(to bottom, #9a71d4 0, #754baf 100%);

                    ul {
                        @include flex-center-start();

                        li {
                            @include flex-center-center();
                            flex: 1;
                            aspect-ratio: 1 / 1;
                            background: url("../images/pk_min_li1.png");
                            background-size: 100% 100%;
                            background-repeat: no-repeat;

                            &.add-box {
                                background: url("../images/pk_min_li2.png");
                                background-size: 100% 100%;
                                background-repeat: no-repeat;
                            }

                            img {
                                margin-bottom: .2rem;
                                width: 80%;
                                height: 80%;
                            }
                        }
                    }

                }

            }

            .blood-bar {
                position: absolute;
                right: 4rem;
                left: 4rem;
                height: 2rem;
                border-radius: 1rem;
                background-color: #000;
                box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, 0.6);
                z-index: 10;

                .blood-bar-val {
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 0;
                    border-radius: 1rem;
                    background-color: #502c82;
                }
            }


            &.enemy-box {
                background: linear-gradient(to bottom, #ffcb9e 0, #ffb676 10%, #ffb676 90%, #f09341 100%);

                .photo-box {
                    border: 2px solid #7f420e;
                }

                .status {
                    color: #904605;
                }

                .blood-bar {
                    top: 100%;
                    border: 1px solid #ffd3ad;
                    background: linear-gradient(to bottom, #6d3708, #aa5811);

                    .blood-bar-val {
                        background: url("/images/blood_val_1.jpg");
                        background-size: auto 100%;
                        background-repeat: repeat-x;
                    }
                }
            }

            &.my-box {
                background: linear-gradient(to bottom, #efe4ff 0, #e0cbff 10%, #e0cbff 90%, #895ec7 100%);

                .photo-box {
                    border: 2px solid #9363d5;
                }

                .status {
                    font-size: 1rem;
                    color: $purpleFontTwo;
                }

                .blood-bar {
                    bottom: 100%;
                    border: 1px solid #f4ecff;
                    background: linear-gradient(to bottom, #502c82, #6b44a3);

                    .blood-bar-val {
                        background: url("/images/blood_val_2.jpg");
                        background-size: auto 100%;
                        background-repeat: repeat-x;
                    }
                }
            }
        }

        .game-box {
            height: 0;
            flex: 1;
            position: relative;

            .left-box {
                left: 0;
            }

            .right-box {
                right: 0;
            }

            .side-box {
                position: absolute;
                width: 5rem;
                top: 2.2rem;
                bottom: 2.2rem;
                @include flex-stretch-between();
                flex-direction: column;
                z-index: 1;

                &.left-box {
                    z-index: 20;
                }

                .enemy-hero {

                    height: 0;
                    flex: 2;
                }

                .centre-box {
                    @include flex-center-center();
                    flex-direction: column;
                    height: 5rem;
                    line-height: 1.2rem;
                    background: url("../images/game_side_bg.png");
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    text-align: center;
                    color: #fff;

                    .name {
                        font-size: .8rem;
                    }

                    .val {
                        font-size: 1.2rem;
                        font-weight: bold;
                        height: 1.2rem;
                    }

                    .unit {
                        font-size: .8rem;
                    }
                }

                .my-hero {
                    flex: 3;
                    height: 0;

                    ul {
                        height: 100%;
                        @include flex-center-start();
                        flex-direction: column-reverse;
                    }

                    .move-box {
                        @include flex-center-center();
                        position: fixed;
                        width: 6rem;
                        aspect-ratio: 1/1;
                        left: -100%;
                        top: -100%;
                        transform: translateX(-50%), translateY(-50%);
                        z-index: 99999;
                        display: none;

                        img {
                            width: 100%;
                            height: 100%;
                        }

                    }
                }

                .here-list {
                    @include flex-start-start();
                    flex-direction: column;

                    li {
                        margin-top: 1rem;
                    }

                }

                .hero-box {
                    @include flex-center-center();
                    position: relative;
                    width: 5rem;
                    height: 5rem;
                    border-radius: 50%;
                    overflow: hidden;
                    background: url("../images/game_hero_bg.png");
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, 0.6);
                    &.finish{
                        box-shadow: 0 0.2rem 0.6rem 0 rgb(255, 255, 255);
                    }

                    .hero-gray-box {
                        position: absolute;
                        top: 0;
                        right: 0;
                        left: 0;
                        overflow: hidden;

                        .innder-box {
                            position: absolute;
                            left: 0;
                            top: 0;
                            width: 5rem;
                            height: 5rem;
                            background: url("../images/game_hero_bg.png");
                            background-size: 100% 100%;
                            background-repeat: no-repeat;
                            @include flex-center-center();
                            filter: grayscale(1);
                        }
                    }

                    img {
                        width: 4rem;
                        height: 4rem;
                    }
                }

                .skill-box {
                    width: 5rem;
                    height: 5rem;
                    padding: 0.4rem;
                    box-sizing: border-box;
                    border-radius: 1.2rem;
                    background: linear-gradient(to bottom, #41e1df 0, #34cfcd 59.9%, #119796 50%, #2ec8c7 100%);
                    border: 1px solid #18cbc9;
                    box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, 0.6);

                    img {
                        width: 100%;
                        height: 100%;
                        border-radius: 1.2rem;
                    }
                }
            }


        }

        .ballte-box {
            position: absolute;
            top: 0;
            right: 3rem;
            bottom: 0;
            left: 3rem;
            background: url("../images/lawn.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
            background-position: center center;

            .canvas-box {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;

            }

            .start-list-box {
                position: absolute;
                right: 1.5rem;
                bottom: 3rem;
                left: 1.5rem;
                height: 4rem;
                @include flex-center-around();

                .put-box {
                    width: 3.6rem;
                    height: 3.6rem;
                    background: url("../images/start_area.png");
                    background-size: 80% 80%;
                    background-repeat: no-repeat;
                    background-position: center center;
                }
            }
        }


    }

    .bottom-box {
        justify-content: flex-end;

        .surrender-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 3rem;
            height: 4rem;
            border-radius: 1.2rem;
            font-size: 1.6rem;
            background: linear-gradient(to bottom, #e4d2ff 0, #cca9ff 10%, #b78cf6 90%, #a374e7 94%);
            box-shadow: 0 0.2rem 0.6rem 0 rgba(95, 95, 95, 0.4);
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
            color: #fff;
        }
    }


}